Remove unneeded errors