Fix for WARNING instead of ERROR