How do I fix the problem with margins?