remove double reference to pdf