fix bug in home page