fixed typo

fixed typo: "typeof attributes" instead of "typeof options"