arrray_filter bug fix