fixed GetNames function from logic entities