$html object not included in argument list