Fix template engine loading spring at start up