fix fatal error on settings save, fix improper html in metabox