fix throwing char char *