Merge pull request #22 from mmn/master

force the config to be an array if empty