fixes sample application