fixed lagging square issue.