fixed nullpointer in account