updated found message
a few code fixes