found the bug, causes more problems