Fix lim core dump.