Fixed issue with completing registration