added error_reverse and reflection to directives