Just fixed the undefined thunk issue...