Fix small issue with loading application scope