fixed float direction calculation