Fix incorrect container ref and logger error