lock version of readline