parsing ids as integers