fix java imports wrapper