fixed PHP-Notice of undefined variable during install