fix comparing Pali source issue