BUG: fixed the precision of opacity