fix flavor initialization in init.rb