added error box for no mathing results
sorted some minor bugs