Margin error fixed