solve all -Wextra warnings