fix remaining -Wextra issues

maybe we can enable -Werror for development?