for a moment , the prince panicked and cursed himself for speaking without thinking , but then his instincts took over and he found he was speaking to cover his tracks before he had even thought it all through .