FIX: hoisting not handling duplicate content