fix centering

this probably works better