make console read only