fix #729
Corrected method to check if current user is a super user (before I was calling a method from spaces which caused an error).