handle empty account case