fixed object argcheck function null behavior