deleting empty keys
working on OSX.. though it does seem to need to be sourced twice (?)