making changes to errors