fix raven error