removing profile attribute from head