fix getting visibility source and add process to term mention builder