fixed bug in select tags on edit pages