finish directive's content