Nasty fix for silly errors originating on the profile page'