fix small completion bug