Fixed course length bug