fix select gpus resources