Fixed a null pointer

The bin was accessed before the time was set.