Added error handling for initial register startup