delete repeated code

delete repeated code in 497 line.