made resp write not write nil bodies