delete dynamic func