fix those compares