temporary fix to prevent crash for RB2.96