fix round time bug