removing overflow