Fixed bug in spockd