bug fix: clean filepath, unicode format strings