add fix to rituals controller for xhr processing fix