fixed str type error