fix select source not working