disallow to accept null condition function