remove deprecated errors