enable right error reportings