handled internal errors