fixed sample app