small pet margin fix