remove codes about wrong param