Fixed unserialize incompatibility in php 5.5.13