Fix -n bad usage on read function