fixes dict reference.
removes dev break statement.
Merge pull request #1 from birkin/master

tweaks util function.