hopefully fixed string center bug