Fix issues on parameter and filename autocomplete