[FIX] fixed some bugs found yesterday (NetworkEngine)