Read locals errors fixed