fix the serialize bytes bug...