fixes layout