Fixed bug with head