Worst is over for the ringgit