search multiple tags
fixed some php notices