fix flavor dependency