remove obsolete code

remove obsolete code