fix stupid infinite recursion