updated a few minor problems