activities resource
fixed incorrect entity subclass intantiation