Revert "added recursive attribute"

This reverts commit 2324da3ac2cf5c6458d4ff1743b45baf1baeba25.