add validity check
updated compound search page