FIX static document compile