Fixed failing at before at applicationController when calling next to prevent freezing