use req.bin.svg instead of format