fix the bug of home page