changes for pdf
soved id problem