fix floating problem