fixed bin/domain.js