patch from Brett which should fix the release issues I had.