fixed something

fixed case where fid2 can be empty string and not nonetype