avoid error in compatible mode