Fixed the blank html file issue