removing all jsx warnings about using factories directly