fixed bug with single select