Fixed a bug in the chaser code