improve template checks