fixed, missing last line causes patch to spew warnings