remove function handle entrance