improve feature comparison