Fixing bug in opal manager