fix remove activity scope issue and fix broken avator max size validation test