debugged problem rendering groups