fixed wallet nullpointer