resolving functional preprocessing problems