remove of inexistant fuctions + remove of cartesian products for inner joins