fix missing last call of analysis