change static constant in .h to extern