prevent alerts when ther is no real error