Fix completion bug.