fixing path issues in basheditor