fixed str bug