Fixing kwargs argument passing from decorator to rendering