Fixed 'digest already in progress' issue with route change