utils bug fixes and network model work