fixed initializing value in select