fixed array name as func param

should dereference it!