don't accidentally use an older tip

the wrapping query eliminates $0 tips
remove unused import