fix head fetch