loading template fix 2