you need to add that to __sleep and __wakeup