Fix label template initialization (fix #154)