fix view method call