fixing minor problems