Fix emitting options