improving checkState message