fix sample navigation