solve compatability issue