remove uneeded string to inteer conversion