Fix check_jerr