got rid of negative margins