[functions.default] add sanity check to create()