cardiff: Fixing style issue

Some part of the code was generating stylish issues.