Fix rail text