retry instead of error box [more automation], fix syntax errors