fixes for regsite module
Merge pull request #1895 from kurund/regsite-module

fixes for regsite module