fixed typo
replace get_option with helper function