fixed error with platorm fault