fix bug that was setting arrays as keys in default_options hash