Thank you for your answer, it helps me a lot. I already tried this solution first but there was an error that says unknown format then I realize it was not caused only by the size because I've copied an existing report and when I change the size of it, it cause the error. (script iterate in pages probably or something like that)
So I decided to start a new one from scratch with the right dimension and everything is working well right now.
Thanks