fix for SOURCE_ARR bug