no need for lock.
fixed margin error.