Fixing search
Fixing innerProduct