Loop directires should close with -%> too.