adding pop up errors