Adjusting margin error catching