Removes bugs and errors.