do not dereference function descriptors twice