loadingTemplate is not working, so Im trying to put it on after hook