checks on correctly reading api