fixing dependency path and copying