Fix a use after free or error messages printing