bug fix (permission)