fixes layout issues