fixed minor issues to conform to standards.