Fixing code view on samples