fix issue with pre content hooks