Fixing non-migrated code sample and code format