add mode tag to output