minor code head fix