centering seems to work correctly now