Fixed Installer

Minor bug fix & security fix.