oops, fix recursion loop