Bug fix access denied exception