removed unnecessary cast to str (issue #35)