fixed issue of light frquency increasing each time you pass over section 2