remove useless parametters '&f' in functions calls