fix bug in the naming of the isLocal property