fix wrong info displayed when there's overlap