fix some bug in account
add a DateMixin, and it can run successfully