fix some issues uncovered by the Zenphoto site