prompt never fails on getting hostname