remove setWindowName method to avoid complications