fixed path native check and implemented runtime path conversion