fix case of flex