fix the specific margin bug