no linebreak before brackets for one-lin funcions

+ minor search restructuring