fixed array assignment from copy paste error