resolve path
Merge pull request #18 from makotot/config

Option 'config' does not work correctly when type is string.