fix no permit error
Merge pull request #1 from IMQS/fix_no_permit_error

fix no permit error