fixes layout bug on detail page