update some new compatibality