fixing a bug with the home page editability