added error message popup