silly mistake in hex kwy to int kwy function