restoring proper centering