Fixed type-cash.
Fixed error concerning type 'user'.