FIX variable code