Sub community bug fix java