fixed minor syntax problems