allow single string or object as partial options