'Cookie' Class Bug Fix