fixes #175: fix the unexpected bug which throws "should not be located at the parent folder"