fixed account validation