fixing platform spawn