remove undefined index notices on clean install