changing lastResults to lastQuery
fix results