fixed the relative references being broken #464