fixed requestp error handling