Fixing the setting thing in template