fix compatibility change