new modifications made, invalid search bug message added