better code for meta search
use form for and meta search in view
minor optimization in stats