tmp handlers are now always removed when called