fixed illegal character
fixed logger problem