very minor modification on YCM complete