fix sample application