fixed KernelAware::forward() code