add nil comparator for prevent parsing errors