only render selector when have data