Bug fixing about setting base path in Option