fix comparison

Change-Id: Ia7f65d69c186056527a2beb72a18f4a66e4c6586