fix cryptic error message encountered when trying to call mho:surface html elements as functions