disable several warnings