fix the reference path