remove funcref