added error notification for ios