improve directive `contents`