fixed -werror