Fix typo

comapre -> compare