removing weird include in the middle of a function