Fixed a output already started error