fixed wrong center assignment