[#93] fix round error for max amount