fixed the bug with floats in date