Fixed bug with Platform vs Os