fixed array remove typo and socket array activate