fixed a bug in the installer