make dependent dropdown works