password register fix