BUG FIX: make sure to recurse into level greater 3