fix f.src was not a string