fix bug acl
fix unit tests