fix hr gen for initial context
minify