fix resume pdf rendering