more readline fixes