Section of surveyor controller where error is happening.