String to Int bug