small fix for createSampleApp