remove dependency to the str module