fixed bug of handling non string values in string type options in defaults.c