make the direct tag work using SLM