* lispet.c: add better error handling