error in sql for countries pulldown