fixed wierd char error when running some testcases