add restrict to element