fixed small str bug