fix View.render method
beforeInitialize now is before all filters, afterInitialize now is after all filters