Fixing readline issues.