prevent ~ from adding to images array