Fixed 'blank page' issue