fixed an issue with showing neighboring entries