Fixed an error caused by the attempt to remove a warning.