fix issue with centered class