fixed redefined class error