taking care of non-existing statusCode