Better backslash check for quated strings
remove unnecessary last statement and fixed string quote