bug with Search
added pagination
trash