Fixed bug, updating hks