canot redeclare class error