solve mainPage load fail problem

when moment dataset is empty