quick fix to main layout