fixed filtering in ACL and added local settings