fixing font alignment bug