Fixed double output bug. Was do to .on('complete') occuring async