check if entities are set, not empty + add exceptions