fixed bug in home view