Avoids annoying alerts on refresh