Avoid creating output when its not wanted