fix for signed pdf upload