solved gift1 problem