fix crash caused by hash when sym expected