pointer behavior on pdf upload