fix fault in access permission