logic hooks missing array