Fixed bug on hostname prompt