fix the enum in AABox, fix a warning in Head