Fixing bug in ACL