fix bug in 8-puzzle