fix compile error re:autofire (issue #4)