added this.next() to onBeforeAction