flow layout fixes