error handling of console read