~ addressed bug where prompt would fail on an empty view