fixed default type to str