validation error on html macro