fix decrypt pos