Added missing template in statics. Fixed vars in settings.