fixed margin bug