fix: recognize pdf output format