corrected an error in line of code which pushes values to allCameras array