Fix Error Handling RegisterOnServer