Profit margins recover