Fixed Code for invalid object type for Acl class