replace any with string. freedom does not understand 'any'