Fix get dependencies