add comma
make static pdf generation more robust