Fix a stupid stack overflow error