orc bug fix