fixed StartWindow, registration