fix reentrance problem (bang outlet last)