Fix debug handling in acl.c