Main, registration fixed