Open docs in new tab and fix variable type