various handlers permission fix