fixed path switch for wideimage library