added restriction to path - Only GUI
Merge pull request #163 from LI-HE/master

added restriction to path - Only GUI