c-style string errors fixed