states: add another read_only check