fix the placement and margins