fix edge case with old "contents"