Fix a few minor bugs in code completion (mispelled function name,...)