entity template resource loader worked