handle 0 users in db case