fixed a bug while showing a header, removed right panel and mentions from redrering