Removed error(); fixed report() bug