Small debugs to make the code work again