common#head bug fix
quartfit implemented