fix sample app