Bug fix: checking permissions