fixing margin extend classes
fixing margin extend classes