fix text not in center issue