comparison error: need to correct