fixing config bug. closes #1