fixing centering issue with profiles