fixed missing null check in request object parser