fix res not found issue