fixed a bug in the adjacent target optimisation
1 file changed