BUG: pdf wasn't allowed.