remove unrequired code in IJGateway