remove parameter check can never be reached