FIX Bug caused by misused of begin of array