networking error is working and loading state still buggy