Error in "filling" arrays was set right.