Fix error: ‘string’ was not declared in this scope