fix coords to be float