Some fixes in acl