fixed string formating bug