fixed secondary rail bug