fix a compatible problem