fixed big mistake preventing display of the whole page