float detection fix