Fixed compared2 issue