fix bug creating AE from staged message