fixed acute bug
thinning code
thinning code