handle case where deserialize fails