Fixed bug related to platform