fix dependencies problems