fixing detection for finished installation.