fix some runtime errors resulting from micropub changes