fixed path issue when extension is installed