fix in compare call sequence