fixed problem with hash