[functions.expression] added sanity check