fix specs and add default host as localhost