Bug fixed when getting data from the request.