[Change] corrected getstate lock file issues