opal compatability as suggested in #2653