fixed the session array for storing bought goods