Bug fix
Added an error
Fixed a bug