Removed last self.fail from the platform wrapper.
fixed a fail issue.