Fixed bug in ServerCore