error log changed
to array fixed