fixing the rail root issue