fixed the template and css file so it works