Fix the issue on not authorized resources