fix module errors
Merge pull request #66 from shawnfeldman/master

portal: fix module errors