fixes a regression introduced by the serialization changes