minor problems fixed