fixed select 0 issue