minor fixes in encrypt task