fixed server debug statements