fix query bug in getting all user esls