Fixed parsePID to return a number