fix attempt for frozen array issue