debug a very very stupid mistake