minor corrections in libal.c