fixed small bug with CircularSubString- regression due to optimizaitons