Temp fix to the homepage template error. Will be fixed once the new UI is implemented