remove obsolet code