better error checking on road structure building