fixed cargo problems and lib problems