That dynamic_cast isn't necessary, afaik. (what was it doing there in the first place...?)