fixed error handling on ext initialization