add check function to liblcf-git
liblcf was fixed upstream