Fix rail ties error