fix coordinate overlap