remove all errors and warnings