fix SampleApp