make all the content displayed correctly