fix margin issue with main layout