fix bag issue