fixed template variables showing when waiting for resful data arrives