platform bugfix