Id checking bug. Some more logging and there aint no thing called $storage.