Fixed a lot of exceptions + implemented fetchPolicy logic