general fixes for templates. notifications and profile views