fix bug in head using site values