remove obsolete fun