fixed a bug in the way the toolkit sended the hash