deleting useless handlers