fix class method for activity storage