Fix for closure on the request