fix dependencies and usage of pouch peer dependency