fixed path problem with exported resources