break reading env if at least one rail is present