emit head after onHead is run