Fixed issue with arrays.