need to remove errors in file