fixed encoding
updated factoid api endpoint