fixing issue on homepage