empty result bug fix and listing all model instances