Fixed wrong variable name in the local doc resource