fix for reserializing in the static api