do not emit nil for functions that return void