correction of adding -Werror option