enhance compatibility