Fixed GPS param bug in cloud sample