removed the unwanted setLocals on the request and handling now only positive cases