remove obsolete function proto