fix floating problems