flush writer, otherwise nothing shows up...