removed a few useless lines in the the raven handler