fixed bug in seo-id get. improved validation