Small fixes

Split off from the other pull request. First collecting the hash table values is already solved in a library function and second empty symbols shouldn't be an error.