fix content value if undefined, fixes #82