fixed duplicate symbol issue