loading from api - diagnostics and small improvements