fixes #19 passing hash key instead of string.