fix errors in fling