fixed read issues