fixing timeout to float