removed useless swtich
fix, char literal escape