fix for .compareTo