fixed issue with >>>head