reverted db to public property from state.