Bug fix casting into to str