bug fix clean method + poc of the precog analysis to get autocompletion