Fixing bugs in activitats assign