added error popup messages