unserialize bug fixed