fixed missing errors