permission fix for commands