Fixed the install check