indentation issues
fixed readline bug