bug fix for omnigain