Fixed a little bug within the warnings