Remove main and related errors from below content