corrected errors regarding string isssues