Edit line 39 and 41 of system.install to fix undefined index error