fix verifyIdParamter to explicitly check integers