bugfix mergepdf for landscape mode