fixed: readline error after merge