internal error fix