Fixed error with calling abs without Math, fixed dynamic routing