impove compatibility