improve ctrl+d, ctrl+u