fixed the bug in Monday night happened when the parameter is 1.2