fix potential missing permission at import time