fixed roo deprecation warning