fix hamiltonianPath message