do not call in getacces befor template check