Fix errors caused by string stuff