fixed small rouding problem