fix internal functions recognition