Fix Raven initialization