fixed wrong referencing of rbCompat