fix bugged floating