fixed strange bug with non assigned ball class even when color is not null