Fixes issue #305 #306
Missing activecode reference
Merge pull request #307 from ranum/master

Fixes issue #305 #306