In case of fail, keep array unchanged