snap overflow fix