fixed an issue with sidebar