critical bug. found another one too.