added pop up error message