Bugfix custom domain
first complete version, with new theme