change type to str