fix fatal class redeclare again