Error and warnings
Fixing bug