remove several warnings