fixed bug with history changing details of class