fixed namespace errors caused by equally-named base classes