fixes layout bug