fixing search by power
fixing search by power