corrected minor issues to get service running