bug in hostname ref