fix bug when raising PermissionError