fixed typo causing warning
updated to match refactoring on net stuff