fix to register cell classes for reuse