delete the illogical code

although it can fix the problem mentioned in last commit, it is invalid.