fixed error popup position and target