fix beach line index