fixed margin error