Fixed bug with 'shiftError' and 'shiftWarning'!