fix pouchVariable