fixed issue with empty page