fix multiple definitions error