Fixed undefined: hostname