fix compatibility problem;