Solved bug (string to integer)